added password encryption for admin passwords