Login gets response from server, pops up error on failed log in. Still need to switch views on success