postgres
working few things in controller