implemented rudementary user model