Rubocop reformatting pass.
Forgot one thing.
Creating api keys works so far
A little rubocop cleanup
handling bad logins