Signup view dismisses itself after user has succesfully signed up