adds user authenticaiton