login as separate module