Implements Login application.