created homepage controller