added registration to requests, closed #11 and #10