#2 - Implemented authentication