adds access token to user model
adds app login and register func