Modified the expiration time check when requesting for an existing token
Added the redirect_uri paramether when requesting a new token using code authentication
Added the redirect_uri in the constructor as well
Fixed identation