should flash notice when exporting no records.
[#1824] small refactoring around conditionals
add fields to user model.
implement the lock feature and add feature test.
do some refactor.
puluralize of flash message
pulisize in flash message
remove unesscary property
add disable authenticate
remove useless space.