Define a separate user class for optional password