fix reconnecting error in reconnecting to mongodb
fix database reconnecting bug in startup
remove unused mongoose model
add basick homepage template