Improving user authentication process