API server now verifies existing session token instead of Auth server.
Parameters had no default value, which caused warnings. Corrected.
Some parameters were not optional, which caused warnings. Corrected.
Added regex for extra security.
Merge pull request #17 from wlox/optimize-sessions

Optimize sessions
Merge branch 'master' of https://github.com/wlox/wlox-api
Merge pull request #11 from 1btcxe/master

Optimized session flow, corrected some PHP warnings