Ability to log in

This is the web2 side of the api PR https://github.com/joindin/joindin-api/pull/26 - it allows a user to log into the API. 

Note that the client_id used to log into the API is stored in the config file and must match the one within the API's config file.