Added user controller and model, plus counter logic