Registration view was dismissed when user type wrong credentials.