Finished desktop OAuth

Added all oauth server functions.
Updated database.
Oauth user details now gets saved in database