Update login.py

checks if user is root before login