Adds login helpers and handlers