Setting up the model.
Adding in oauth