login and distribution