modified home and header to customize login and log out buttons with simple logic