User database now working