Added user authentication/login as per old spec/system