Working on server-side login stuff.