User authentication fix