Fix main layout display user name is case of not logged in