adding bean config, security config, and dispatcher servlet
setting beans
adding controller