implemented error message to user on bad login