Added api file. Updated dependencies in package.json.
Implemented basic login functionality.