Added user login and authentication