Additional Code Cleanup and Registration Form added to pending_users table