complete authentication integrated with Html