Improving administrator model: added new instance method to check password is valid