Fixed No Error Message Bug

Fixed a bug that prevented error messages from showing if the user is
logged in.