add frontend loading