Added naming checks
Reorganized errors
Added errors to users.py