changed schema.rb to fix login problem