First authentication implementation with modal