login and reg without heartbeat