Set up google oauth2.
Adding Rules to database.