done button will login