refactored views so I could pass through isAuthenticated from server to jade template