fix front page buttons for logged in users