login status control
register empty string checked