improved navbar (user logged in or not), change email in the session if email edited in account details