Login prompt if username/password is incorrect. Changed to ajax call instead of form submission