Implemented HTTP GET and POST, and started on structs for the login API call