Adds login support