model and validation updates

changed model to be username instead of uid
ensuring query strings has correct input param names