fixed login issues
please work!
syncing with pycharm