check params empty or not in user controller