got it working with users and stuff