Modifying how logout button and session works