Added remember me feature and creation of authentication tokens