fix login and tutor schema