added users model and fixed ratings form bug