change homepage to user/index and delete unecessary method from application controller