Cleaned code, modified urls and aded @links in OAuth config