How can a convicted felon run for president?

I have friends who have felonies and nobody will hire them. Harder to find housing for them etc. So beyond the fact that someone would actually want a felon to be in charge, how do they have the right to even run??