Fix problem with messages during log in and sign up