changed to requests library, logging in