Added static library target for Mac.
Added convenience login operation.