frontend development of the home view