added loop and basic login via println