Made changes to python code

Multi-user support