use array notation for scope
code refactoring
added navbar controller that uses isAuthenticated to check the status
Merge remote-tracking branch 'origin/master'