Add *.swp files to .gitignore.
Remove _logging calls.
Modify res_users check_credentials to use serial_id as password.