Use exit instead of exit()
Add missing inline errors on login