added comments, renamed change_user()