added routingConfig.js to app
added cookieStore logic to local authentication / checks the user profile on stateChangeStart
Merge pull request #29 from AltitudeHK/localAuth

Local auth
refactored into mongoose