Fixed login validation error. Installed rspec. Had a quick play, looks complicated