add logout function,
different header for login and logout:)