added homeview function
added styling