added failure alertview to registration