fixed typo in loginUser, added to .gitIgnore