Added function to get access token
get access token. At long last