changed login errors to hash
added errors to login screen