check for empty loginParams