fixed oauth endpoint in auth and get_a_name func for activities