New set_auth_token function

Created the new set_auth_token as discussed before on #25 . I think we should add a step of validation of the token.