Completed OAuth functionality. SERVER method has yet to be tested.