Added insertUser() function