added httparty gem and fixed identation in js
added necessary migrations
fixed identation in controllers and changed config oauth
added logic of hooks
unsubscribe hooks
fixed tests users and started hooks tests