changed header on login and logut function implemented