added controller for user routes