reputation works but signs user out on form submit