configure login controller