Login / Register server side functionality complete