Major changes. Turned user into devise and removed account (merged account and user database), and renamed all account functions with user. For now, program seems to run without a problem, but with a major update like this, there are bound to be errors hidden somewhere.