Remove redirect url variable
Add api version constant
Add gapi version