write db player login