'Initialise parent class & make any necessary modifications'

def __init__(self):

    Auth.__init__(self, current.db)
    self.settings.lock_keys = False
    self.settings.login_userfield = 'email'
    self.settings.lock_keys = True
    messages = self.messages
    messages.lock_keys = False
    messages.approve_user = 'Your    action    is    required    to    approve    a    New    User    for    %(system_name)s:\n%(first_name)s    %(last_name)s\n%(email)s\nPlease    go    to    %(url)s    to    approve    this    user.'
    messages.email_approver_failed = 'Failed    to    send    mail    to    Approver    -    see    if    you    can    notify    them    manually!'
    messages.email_sent = 'Verification    Email    sent    -    please    check    your    email    to    validate.    If    you    do    not    receive    this    email    please    check    you    junk    email    or    spam    filters'
    messages.email_verification_failed = 'Unable    to    send    verification    email    -    either    your    email    is    invalid    or    our    email    server    is    down'
    messages.email_verified = 'Email    verified    -    you    can    now    login'
    messages.duplicate_email = 'This    email    address    is    already    in    use'
    messages.help_utc_offset = 'The    time    difference    between    UTC    and    your    timezone,    specify    as    +HHMM    for    eastern    or    -HHMM    for    western    timezones.'
    messages.help_mobile_phone = 'Entering    a    phone    number    is    optional,    but    doing    so    allows    you    to    subscribe    to    receive    SMS    messages.'
    messages.help_organisation = 'Entering    an    Organization    is    optional,    but    doing    so    directs    you    to    the    appropriate    approver    &    means    you    automatically    get    the    appropriate    permissions.'
    messages.help_image = 'You    can    either    use    %(gravatar)s    or    else    upload    a    picture    here.    The    picture    will    be    resized    to    50x50.'
    messages.label_image = 'Profile    Image'
    messages.label_organisation_id = 'Organization'
    messages.label_org_group_id = 'Coalition'
    messages.label_remember_me = 'Remember    Me'
    messages.label_utc_offset = 'UTC    Offset'
    messages.new_user = 'A    New    User    has    registered    for    %(system_name)s:\n%(first_name)s    %(last_name)s\n%(email)s\nNo    action    is    required.'
    messages.password_reset_button = 'Request    password    reset'
    messages.profile_save_button = 'Apply    changes'
    messages.registration_disabled = 'Registration    Disabled!'
    messages.registration_verifying = "You    haven't    yet    Verified    your    account    -    please    check    your    email"
    messages.reset_password = 'Click    on    the    link    %(url)s    to    reset    your    password'
    messages.verify_email = 'Click    on    the    link    %(url)s    to    verify    your    email'
    messages.verify_email_subject = '%(system_name)s    -    Verify    Email'
    messages.welcome_email_subject = 'Welcome    to    %(system_name)s'
    messages.welcome_email = 'Welcome    to    %(system_name)s\n    -    You    can    start    using    %(system_name)s    at:    %(url)s\n    -    To    edit    your    profile    go    to:    %(url)s%(profile)s\nThank    you'
    messages.lock_keys = True
    self.permission = S3Permission(self)
    self.override = False
    self.rollback = False
    T = current.T
    if current.deployment_settings.get_ui_label_camp():
        shelter = T('Camp')
    else:
        shelter = T('Shelter')
    self.org_site_types = Storage(transport_airport=T('Airport'), msg_basestation=T('Cell    Tower'), cr_shelter=shelter, org_facility=T('Facility'), org_office=T('Office'), transport_heliport=T('Heliport'), hms_hospital=T('Hospital'), fire_station=T('Fire    Station'), dvi_morgue=T('Morgue'), police_station=T('Police    Station'), edu_school=T('School'), transport_seaport=T('Seaport'), inv_warehouse=T('Warehouse'))
    self.PROTECTED = ('admin',)
