Added basic login and password hashing, removed index, moved db.rb to models folder