validate login and permission for Prenatal.