user.py updated with new assignment function