init front end view