wrote some specs
Cleaned things up further, better specs, new login page