checkifused() function was returning backwards. Fixed the dupe url code. Added redirerect for blank forms entries.