make trailing slash on authenticate URLs optional
don't inherit MainController scope, it reloads the projects on every state change...instead wrap in ng-controller directive
refresh current project when user refreshes the page for all states