Added login part of auth package.