Adding authontication