Added user authentication