user model and controller functions added (no logic yet)