Update login.py

added a register page