moved register scenario to a more generic mode 'user'
added user model for updating password and user and registration