adds user controller and redirect for logged in user