Added  fail handling case for sign up form