added mac address into db and user creation