added logout link to edit session menu
added method for checking whether user is logged in
changing state only after user is logged out
redid whole nav bar concept

using a directive and a service
added username to navbar
only allowing emails as username now