Added user authentication feature