#1 - Login code extracted from Camilo project added