RTS Labs interview question

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