render homeview with alert