Service-ified login/logout/signup; still need to implement heartbeat