adds app_id
change redirect uri to work with heroku