Delete access method and placed login in initialize.