Further implemented login methods.