added User authentication