Made IEEE.login better, added error checking to backend login method