added error message for incorrect username or pass for register or login