PEP8-ing and setting up login. Refs #27