changed sql error output and link to add new user