Warnings for bad username or password
Tidy up a bit