implemented Auth command. Handling OAuth exceptions.