Fix spec and change to another window in gravatar edit
Redirect home page when signed-in user visit sign-up page