user helpers and controller