fix login controller and logout function on navbar