Moved OAuth from gui to server package