added user model, db relations between users and links