added login and dependencies