switched to deploy setting
refactoring
switched to using sockets for identifying users