added docblock to login library
fixed merge