Adding OAuth authentication logic to login process (for soundcloud)