changed user login to not crash on request error