first attempt to add logincontroller to framework