Handle the exception for signup page