Calendar feature for homepage, fixed a bug