Added ids validation in user and fixed typos