Added user authentication
Small typo preventing remember_me to work