moved promise_request and success back to the api module and logInRedirect to router
added in data no tests
merged stuff together need to get setAttribute tests passing
added fix for attributes and changed mocks
added tests for Data get
added test for update, not finished added though
added docs