fixed bug user controller and home controller