fixed bug where logged in user is not shown after logging in