Added a user mode with password authenticaion