Added user authentication support