adding config and refining the login process
heartbeat