removed redirection to homescreen on ajax error