Is there a connection between epilepsy and mild mental illness?

I need to know from people who are epileptics or have lived with one..even if the medication is working and they havent had a seizure in years, is it still possible for something to be neurologically wrong? I'm seeing rash thinking, anxiety….almost bipolar symptoms. Is there a connection between the functioning of the brain, thought and the illness epilepsy.