Update name.py

Once again. More complex. But login function now put in. No bugs found so far. http://repl.it/K6I Test it there. All code is there and waiting! =)