before user controller