removed not needed param loginManager