fix: the names of db attributes for 'user'
which has the tablename as 'user' in singular, following the guidelines
instead of 'id' and 'name', so changed that everywhere it applies