Adds view for the frontend.