Header chage funtionality to change between loged in and loged out views