Update to conform to PEP. Create Login class.