Authentication implementation added