authentication problem with mysql integration