added acceptance tests for user.login and user.register