completed log in and authentication
completed adding update function calls to the API