Made register log in the newly registered user
Merge branch 'master' of https://github.com/mavroskardia/codechallenge