fix layout when user not logged in #970