WIP: Use API calls instead of mock requests.
Updated API variable names and API putting
Added login and session
Merge pull request #8 from mex/majjoha/api-calls-to-server

Use API calls instead of mock requests.