changed over to Devise authentication before_filter
fixed email config not to crash when table doesn't exist
renamed login column in users table to username