removed unusefull methods
Register to the web api