A server snippet to ease the OAuth process for users