Add oauth authentication

This way the user can access methods only users can access.