Fixed database.yml
Added signin/out