fix with no user being logged in on main ui page