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