adding authentication