wrote registered? test in user_spec