close connection, get presence when login