front end correctly displays logged in user