add user model and refactor
add sign_in_as helper method