Use localhost for connection to database instead of a socket
Add ip_address and serial_number to an user