Yes, there should be extensive background checks, and an evaluation as to whether they are a danger to society
There should not however be discrimination against those that have a mental illness but are deemed stable. Criminals should not have access to a gun and if they do should be reprimanded severely.