Added login API call