refactor
added methods to get sandbox and production config
sigin in url injection added
added tests for getting user token