Added login methods.
Added login methods.