support post now
introduce BaseController to make it more railize