RTS Labs Interview Question

I was given a skeleton Rails app and asked to implement a simple user authentication system.