home and user controller updated