Adding authentication to the project