Fixing the message display condition in the auth views