[PS,RS]{refactoring} LoginTask connection as parameter