Login auth api integration

Added login auth integration for the webclient.